from page.page_form import PageForm

class ServiceForm(object):
    def __init__(self,driver,base_url):
        self.driver=driver
        self.base_url=base_url

        #初始化页面对象
        self.page=PageForm(self.driver,self.base_url)


    def service_form_001(self):
        self.page.openUrl()
        # self.page.inputZanhao("张三")
        # self.page.inputPwd("123456")
        # self.page.inputSex("ry")
        # self.page.inputGuoji("zonguo")
        # self.page.inputAihao("dalanqiu,tizuqiu")
        # self.page.inputDegree("硕士")
        # self.page.inputJiesao("啊哈，你好啊，我叫\n张三")
        self.page.inputZaopian("C:\\A\\1.png,C:\\A\\2.png")
        # self.page.inputBirthday("2001-01-01")
        # self.page.click_regButton()